Skip to content

[NFC] Modernize lifetime.[start/end] test#3376

Merged
MrSidims merged 1 commit intoKhronosGroup:mainfrom
MrSidims:lifetime-test-upd
Oct 10, 2025
Merged

[NFC] Modernize lifetime.[start/end] test#3376
MrSidims merged 1 commit intoKhronosGroup:mainfrom
MrSidims:lifetime-test-upd

Conversation

@MrSidims
Copy link
Contributor

@MrSidims MrSidims commented Oct 6, 2025

  1. Opacify pointers
  2. Remove casts between allocas and lifetime intrinsics
  3. Remove Size argument of the intrinsics

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
dm-vodopyanov pushed a commit to intel/llvm that referenced this pull request Oct 9, 2025
#20287)

SPIRVReader has contained a bug for a long time, fixed in
KhronosGroup/SPIRV-LLVM-Translator#3373

While the proper fix will be backported to earlier branches - it still
will take a lot of time for adoption by LTS driver. Hence we have to add
a W/A restoring old behaviour of lifetime intrinsics translation,
inserting artificial bitcast to i8*.

PR also includes update of a test from
KhronosGroup/SPIRV-LLVM-Translator#3376

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
@MrSidims MrSidims merged commit 54525b6 into KhronosGroup:main Oct 10, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants